<?php
//$start = microtime(true);
//$memusageStart = memory_get_usage();
defined('DS') or define('DS',DIRECTORY_SEPARATOR);
defined('BASE_PATH') or define ('BASE_PATH',realpath(dirname(__FILE__)));
defined('LIB_PATH') or define ('LIB_PATH',BASE_PATH.DS.'lib');
defined('MD_LIB') or define ('MD_LIB',LIB_PATH.DS.'mandrill');
defined('MD_CONF') or define ('MD_CONF',BASE_PATH.DS.'config');
defined('MD_CONF_FILE') or define ('MD_CONF_FILE',MD_CONF.DS.'main.php');
defined('ABS_PUBLIC_PATH') or define('ABS_PUBLIC_PATH', BASE_PATH.DS.'public');
defined('REL_PUBLIC_PATH') or define('REL_PUBLIC_PATH', 'public');

require_once MD_LIB.DS.'mandrill.php';
require_once MD_LIB.DS.Mandrill::$coreClasses['MLoader'];
require_once LIB_PATH.DS.'php-activerecord'.DS.'ActiveRecord.php';

Mandrill::start();

//$memusageEnd = memory_get_usage();
//echo $memusageEnd - $memusageStart.'<br />';
//$end = microtime(true);
//echo round($end - $start, 4);
?>